/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DaoFactory;

import Interface.InterfaceFactory;

/**
 *
 * @author gustavo
 */
public class Factory {

    private static final int tipoBanco = 0; //0-postgre. acima de 0 para futuros bancos.

    public static InterfaceFactory getDao() {
        switch (tipoBanco) {
            case 0:
                return new FactoryPostgreSql();
            default:
                return null;
        }
    }

}